﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WFBSYS.Entity
{
    class TsBuyRecord
    {
        public int buyRecordId {get;set;}
        public int customId { get; set; } //客户id，采购客户
        public int materialId { get; set; } //原料id ，来自settings表
        public int materialType { get; set; }
        public float materialNumber { get; set; }
        public float materialPrice { get; set; }
        public float materialTotal { get; set; }
        public float buyPayTotal { get; set; }
        public float duedateTotal { get; set; }
        public int buyRecordTime { get; set; }
        public String buyRecordPs { get; set; }

        public TsBuyRecord() { }
        public TsBuyRecord(int buyRecordId, int customId, int materialId, int materialType, float materialNumber,
            float materialPrice, float materialTotal, float buyPayTotal, float duedateTotal, int buyRecordTime, String buyRecordPs)
        {
            this.buyRecordId = buyRecordId;
            this.customId = customId;
            this.materialId = materialId;
            this.materialType = materialType;
            this.materialNumber = materialNumber;
            this.materialPrice = materialPrice;
            this.materialTotal = materialTotal;
            this.buyPayTotal = buyPayTotal;
            this.duedateTotal = duedateTotal;
            this.buyRecordTime = buyRecordTime;
            this.buyRecordPs = buyRecordPs;
        }

    }

    
}
